Lync powershell cannot bind parameter "Filter"

Hi all,

We are running Lync server 2013 with latest CU.

just noticed today that certain filter commands no longer work. Im certain it has worked earlier, but now I get error message.

Here are some commands I have been trying to run:

Get-CsUser Filter {VoicePolicy ne $Null}

<o:p>Get-CsUser Filter {LineUri eq "TEL:+222222284"}</o:p>

I then get error:

Get-CsUser : Cannot bind parameter 'Filter' to the target. Exception setting "F
ilter": "Query not supported for operator: "

Does anyone else get same error?I have tried this on different Lync servers and still no go.

T

August 7th, 2015 3:59am

you might find this useful

http://www.leedesmond.com/weblog/?p=888

Free Windows Admin Tool Kit Click here and download it now
August 7th, 2015 4:14am

Thanks for reply Edwin,but your link didn't provide any help regarding my issue.
August 7th, 2015 8:41am

Hi,

wrong command try

Get-CsUser -Filter {VoicePolicy -notlike $Null}

Get-CsUser -Filter {LineUri -like "tel:+2222222"}

Free Windows Admin Tool Kit Click here and download it now
August 7th, 2015 9:28am

Thanks Holger,that worked.

Just strange that -eq worked before.Will update my command :)

August 7th, 2015 9:40am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics